﻿using DocumentFormat.OpenXml.Lite.Xml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace DocumentFormat.OpenXml.Lite.Core.Shared
{
    public class SimpleElement<T> : XmlSerializable
    {
        [XmlText]
        public T Value { get; set; }

        public SimpleElement() { }

        public SimpleElement(T val)
        {
            Value = val;
        }
    }
}
